<include file="public:header" />

    <link href="<?php echo STATICSPATH;?>css/swiper.min.css" rel="stylesheet" type="text/css">

    <div id="loadCurPos" class="container content-nav-path">
        <a href="{:U('/')}">首页</a> <span class="arrow">></span> <a href="{:U('information/notice')}">新闻公告</a> <span class="arrow">></span> 比赛公告
    </div>



    <div class="container main-content m-announcement-list">
    
    <?php
    		if(empty($news_information_list)){
		?>
        <p class="no-data">暂无内容</p>
        <?php
			}
		?>
		
		
		
		
		<?php
		if(!empty($news_information_list)){
		?>
		
        <div id="hotSlider" class="list-head-slider slider-mc">
            <div class="swiper-container">
                <div class="swiper-wrapper">
                <?php
				foreach ($notice_top as $k=>$v) {
			?>
                    <div class="swiper-slide">
                        <img src="<?php echo $v['pic_b_show'];?>" alt="">
                    </div>
                   <?php
			  }
			?>
                </div>
            </div>
            <div class="desc">
                <?php
				foreach ($notice_top as $k=>$v) {
			?>
                <div class="item"><?php echo $v['title'];?></div>
                <?php
			  }
			?>
            </div>
            <div class="direction-nav">
                <a href="javascript:;" class="btn-prev"><i class="icon-angle-left"></i></a>
                <a href="javascript:;" class="btn-next"><i class="icon-angle-right"></i></a>
            </div>
        </div>

        <div class="list">
        <?php
        		if(!empty($news_information_list)){
				foreach ($news_information_list as $k=>$v) {
			?>
            <a href="{:U('information/notice_detail', array('id'=>$v['id'] ))}" class="row">
                <div class="col-sm-9 con"><?php echo $v['title'];?></div>
                <div class="col-sm-3 date"><i class="icon-time"></i> <?php echo $v['pub_time'];?></div>
            </a>
             <?php
        		}
				}
			?>
        </div>
        
        
        
        
        
        

<!--
        <nav class="container text-center">
            <ul class="pagination">
                <li class="disabled"><a href="#"><i class="icon-chevron-left"></i></a></li>
                <li class="active"><a href="#">1</a></li>
                <li><a href="#">2</a></li>
                <li><a href="#">3</a></li>
                <li><a href="#">4</a></li>
                <li><a href="#">5</a></li>
                <li><a href="#"><i class="icon-chevron-right"></i></a></li>
            </ul>
        </nav>
-->

<nav class="container text-center">
            <ul class="pagination">
                 {$page}
            </ul>
        </nav>
        
        <?php
			}
		?>
		
		
        

    </div>


<script src="<?php echo STATICSPATH;?>scripts/lib/swiper.jquery.min.js" type="text/javascript"></script>
<script src="<?php echo STATICSPATH;?>scripts/app/news/list.js" type="text/javascript"></script>

<include file="public:footer" />
